import request from '@/utils/request'

// 查询分数信息列表
export function listScoreInfo(query) {
  return request({
    url: '/system/score_info/list',
    method: 'get',
    params: query
  })
}

// 查询学生信息详细
export function getStudent(stuId) {
  return request({
    url: '/system/studentInfo/' + stuId,
    method: 'get'
  })
}

export const getStudentInfo = (query) => {
  return request({
    url: '/system/studentInfo/list',
    method: 'get',
    params: query
  })
}

// 查询班级评分列表
export function getStudentScoreInfo(id) {
  return request({
    url: '/system/scoreList/data/'+id,
    method: 'get',
    params: id
  })
}

// 查询班级评分列表
export function classScore(query) {
  return request({
    url: '/system/class_score/list',
    method: 'get',
    params: query
  })
}
